package cn.tedu.egarticle.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
//import lombok.Setter;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode{
    //所有实例定义在上面
    USERNAME_PASSWORD_ERROR(10300,"用户名或密码错误"),
    OPERATION_SUCCESS(10100,"操作成功"),
    OPERATION_FAILED(10200,"操作失败"),
    NOT_LOGIN(10400,"用户未登录"),
    VALIDATED_ERROR(10500,"参数校验失败");
    private Integer state;
    private String message;

}
